﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace RedemptoristRetreatCenter.Account
{
    /// <summary>
    /// Logout Confirmation class contains the functionality to log out of the redemptorist retreat website
    /// </summary>
    public partial class LogoutConfirmation : System.Web.UI.Page
    {
        /// <summary>
        /// Logs out user by removing user info from the session variables
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void Page_Load(object sender, EventArgs e)
        {
            Session["Username"] = null;
            Session["isAdmin"] = false;
        }
    }
}